package com.itheima.exception;

import com.itheima.common.response.ResponseResult;

/**
 * @作者 itcast
 * @创建日期 2020/10/12 17:57
 **/
public class BusinessExcetion extends RuntimeException{

    private ResponseResult responseResult;
    public BusinessExcetion(ResponseResult responseResult) {
        this.responseResult = responseResult;
    }
    public ResponseResult getResponseResult() {
        return responseResult;
    }
    public void setResponseResult(ResponseResult responseResult) {
        this.responseResult = responseResult;
    }
}
